#ifndef TABBEDCONTAINER_H
#define TABBEDCONTAINER_H

#include "containers.h"

class TabbedContainer : public IndexedContainer
{
    Q_OBJECT
public:
    explicit TabbedContainer(QWidget* parent = 0);

    virtual void insertWidget(int index, QWidget* widget);
    virtual void removeWidget(QWidget* widget);
    virtual int indexOf(QWidget *widget);
    virtual QWidget* widgetAt(int index);
    virtual int dockingIndex(DockOption dockoption, QWidget* relativeAnchor);
    virtual int count(){return m_tabwidget->count();}
    virtual void setCurrentIndex(int index);
protected:
    QTabWidget* m_tabwidget;
    
};

#endif // TABBEDCONTAINER_H
